Fix new breakage from a URL that includes &blah parameters. This is not a
authorparkrrrr <parkrrrr>
Wed, 11 Jul 2007 18:40:02 +0000 (18:40 +0000)
committerparkrrrr <parkrrrr>
Wed, 11 Jul 2007 18:40:02 +0000 (18:40 +0000)
general-purpose fix, but it'll do until they break it again.

google.c

index 7169dc1585d535abcf9f1bfca124d72a23c7d9f9..0496d64222071820cce05d694c561f015cb1e63c 100644 (file)
--- a/google.c
+++ b/google.c
@@ -455,6 +455,11 @@ google_read(void)
                            *to++ = ' ';                                  
                          }
                        }
+                       else if ( !strncmp( from, "\\u0026utm", 9)) {
+                         strcpy( to, "&amp;utm" );
+                         to += 8;
+                         from += 9;
+                       } 
                        else if ( !strncmp( from, "\\u0026", 6 )) {
                          *to++='&';
                          from += 6;